.video-js {
  .vjs-HeadZhiXin {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1em;
    background-color: rgba(43, 51, 63, 0.7);
    color: white;
    height: 3em;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
    &>*{
      padding-right: 10px;
    }
  }

  /* 用户不活动时设计自动隐藏 */
  &.vjs-has-started .vjs-HeadZhiXin {
    display: flex;
    visibility: visible;
    opacity: 1;
    transition: visibility 0.1s, opacity 0.1s;
  }

  &.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-HeadZhiXin {
    visibility: visible;
    opacity: 0;
    pointer-events: none;
    transition: visibility 1s, opacity 1s;
  }

  &.vjs-controls-disabled .vjs-HeadZhiXin,
  &.vjs-using-native-controls .vjs-HeadZhiXin,
  &.vjs-error .vjs-HeadZhiXin {
    display: none !important;
  }

  &.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-HeadZhiXin {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
  }

  &.vjs-has-started.vjs-no-flex .vjs-HeadZhiXin {
    display: table;
  }

  /* 用户不活动时设计自动隐藏 */
}
